package com.lhd.weibo.mapper;

import com.lhd.weibo.pojo.dto.CommentDTO;
import com.lhd.weibo.pojo.entity.Comment;
import com.lhd.weibo.pojo.vo.CommentVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author lhd
 * date 2024/5/17
 * @apiNote
 */
@Repository
public interface CommentMapper {

    void addNewComment(Comment comment);

    List<CommentVO> listByWeiboId(Long id);
}
